@import '@bairong/vix/src/styles/index.less';
@import './var.less';
@import './web/index.less';

body {
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial,
    sans-serif;
  overflow: hidden;
}

#app {
  height: 100%;
}

.box-style {
  background-color: #fff;
  margin-bottom: 16px;
  padding: 8px;
  border-radius: 4px;
}

.tb-ic {
  font-size: 20px;
  padding: 8px;
  cursor: pointer;
}

.vix-layout {
  .vix-layout-header {
    border-bottom: none;
  }

  .vix-layout-header-logo {
    width: 228px !important;
  }

  /* 去掉menu右侧边线 */
  .vix-layout-side-menu-fixed {
    border-right: 1px solid #f0f0f0;
    //background: #F5F5F5;
    .uui-menu-inline,
    .uui-menu-vertical,
    .uui-menu-vertical-left {
      border-right: 0;
    }
  }
  .uui-layout-sider-trigger-left {
    margin-left: -1px;
  }
}

.vix-layout-main {
  height: calc(100vh - 54px);
  overflow-y: auto;

  .@{css-prefix}-layout-content {
    height: auto;
    min-height: auto;
  }
}

.vix-layout-header {
  .vix-layout-header-logo {
    padding-left: 12px;
  }
}

.vix-config-content {
  &-inner {
    height: 100%;
  }

  .@{css-prefix}-btn.action-button {
    font-size: 18px;
    font-weight: 400;
    padding: 0;
    height: auto;
    background: none;
  }
}

.list-header {
  position: relative;
  .box-style();

  .header-button {
    position: absolute;
    top: -52px;
    right: 0;
  }
}

.list-body {
  padding: 0 0;
  .box-style();

  .operate-wrap {
    border-top: none;
    padding: 0 0;

    .section {
      height: 24px;
      line-height: 24px;
    }
  }

  .list-wrap {
    position: relative;

    .list-custom-columns-setting {
      position: absolute;
      right: 4px;
      top: 6px;
      z-index: 4;
    }
  }
}

.step-edit {
  height: 100%;
  padding-bottom: 82px;
  position: relative;

  .step-component {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;

    &-full {
      width: 100%;

      .@{css-prefix}-transfer {
        width: 848px;
        margin: 0 auto;
      }
    }
  }

  .operate-container {
    background-color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #e8e5e9;
    padding: 16px 0;
    display: flex;
    justify-content: flex-end;
  }
}

.@{css-prefix}-info-view-item-content {
  white-space: normal;
}

.drawer-footer {
  text-align: right;
}

.menu-tree-tag {
  font-size: 12px;
  line-height: 16px;
  height: 18px;
  padding: 0 4px;
  margin-right: 4px;

  & + span {
    vertical-align: middle;
  }
}

// 全局滚动条样式
::-webkit-scrollbar {
  width: 6px;
  height: 12px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  display: block;
  min-height: 12px;
  min-width: 6px;
  border-radius: 2px;
  background-color: #D9D9D9;
}

::-webkit-scrollbar-thumb:hover {
  display: block;
  min-height: 12px;
  min-width: 6px;
  border-radius: 2px;
  background-color: #D9D9D9;
}
